import { request, get, post } from '../request'

/**
 * @description 添加短视频
 * @param params {}
}
 */
export const addShortVideo = (params) => {
  return post({
    url: 'ShortVideo/AddShortVideo',
    data: params
  })
}

/**
 * @description 分页查询短视频
 * @param 
}
 */
export const queryShortVideoByPage = (params) => {
  return post({
    url: 'ShortVideo/QueryShortVideoByPage',
    data: params
  })
}
/**
 * @description 分页查询自己已发布的短视频
 * @param 
}
 */
export const queryMyShortVideoByPage = (params) => {
  return post({
    url: 'ShortVideo/QueryMyShortVideoByPage',
    data: params
  })
}
/**
 * @description 删除短视频
 * @param 
}
 */
export const delShortVideo = (params) => {
  return post({
    url: 'ShortVideo/DelShortVideo',
    data: params
  })
}
/**
 * @description 根据id获取短视频
 * @param 
}
 */
export const getShortVideos = (params) => {
  return post({
    url: 'ShortVideo/GetShortVideos',
    data: params
  })
}
/**
 * @description 反馈用户视频滑动视频id
 * @param 
}
 */
export const addShortVideoFeedback = (params) => {
  return post({
    url: 'ShortVideo/AddShortVideoFeedback',
    data: params
  })
}

/**
 * @description 编辑短视频
 * 
 */

export const modifyShortVideo = (params) => {
  return post({
    url: "ShortVideo/ModifyShortVideo",
    data: params
  })
}

/**
 * @description 获取短视频收藏、点赞、等列表
 * 
 */
export const queryShortVideoInteractiveList = (params) => {
  return post({
    url:"ShortVideoInterActive/QueryShortVideoInteractiveList",
    data:params
  })
}

/**
 * @description 查询话题相关视频
 * 
 */
export const queryOtherShortVideoByPage = (params) => {
  return post({
    url:"ShortVideo/QueryOtherShortVideoByPage",
    data:params
  })
}

